﻿package file
         
import (
  "os" 
)  
   
func IsFileExist(filename string) (bool) {
  var isexist = true;
  if _, err := os.Stat(filename);
  os.IsNotExist(err) {
    isexist = false;
  }
  return isexist;
}
